package com.cn.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.order.entity.Admin;
import jakarta.annotation.Resource;


/**
 * 管理员Service接口
 */
@Resource
public interface IAdminService extends IService<Admin> {

    /**
     * 修改
     * @param admin
     * @return
     */
    Integer update(Admin admin);
    Admin queryById(Integer id);
    Integer updatePassword(Admin admin);
    Integer updateInfo(Admin admin);
}
